package com.zjjk.transfer.source.entity;

import java.math.BigDecimal;
import io.geekidea.springbootplus.framework.common.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 结余记录表
 *
 * @author xuziyang
 * @since 2021-03-26
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@TableName("ltech_surplus")
public class SourceSurplus extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

/**
     * 批次
     */
    private String batch;

/**
     * 供应商
     */
    private Integer provider;

/**
     * 供应商名称
     */
    private String providerName;

/**
     * 结算起始时间
     */
    private Date startTime;

/**
     * 结算结束时间
     */
    private Date endTime;

/**
     * 类型
     */
    private Integer type;

/**
     * 类型名称
     */
    private String typeName;

/**
     * 上月结余
     */
    private Double lastMonthSurplus;

/**
     * 本月入库
     */
    private Double putInStorage;

/**
     * 本月出库
     */
    private Double outbound;

/**
     * 本月结余
     */
    private Double surplus;

/**
     * 总价
     */
    private BigDecimal totalPrice;

/**
     * 创建时间
     */
    private Date createTime;

/**
     * 更新时间
     */
    private Date updateTime;

/**
     * 上次结算总价
     */
    private BigDecimal lastTotalPrice;

/**
     * 入库总价
     */
    private BigDecimal inTotalPrice;

/**
     *  出库总价
     */
    private BigDecimal outTotalPrice;

}
